package com.exam.mysql;

import com.exam.entity.SysCourse;
import com.exam.entity.SysCourseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysCourseDao {
    long countByExample(SysCourseExample example);

    int deleteByExample(SysCourseExample example);

    int deleteByPrimaryKey(Integer courseid);

    int insert(SysCourse record);

    int insertSelective(SysCourse record);

    List<SysCourse> selectByExample(SysCourseExample example);

    SysCourse selectByPrimaryKey(Integer courseid);

    int updateByExampleSelective(@Param("record") SysCourse record, @Param("example") SysCourseExample example);

    int updateByExample(@Param("record") SysCourse record, @Param("example") SysCourseExample example);

    int updateByPrimaryKeySelective(SysCourse record);

    int updateByPrimaryKey(SysCourse record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_course
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysCourse> list);
}